Skip to content

Conversation

@dyemanov
Copy link
Member

  1. Validate a few more header fields before the ODS version check
  2. Check for the too small file size and report a proper error instead of I/O error

@dyemanov dyemanov self-assigned this Feb 26, 2025
@dyemanov dyemanov changed the title Slightly better checking for a valid database Slightly better checking for a valid database file Feb 26, 2025
@dyemanov dyemanov merged commit 902f8fd into master Mar 3, 2025
48 checks passed
@pavel-zotov
Copy link

::: QA note :::
Have an issue about FB crashes when invalid DB is a file with size from 1024 to 8191 bytes.
Sent example to dimitr, waiting for reply.

dyemanov added a commit that referenced this pull request Nov 29, 2025
…vents crashes for files >= 1KB but < PAGE_SIZE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants